<?
session_start();
require_once("../functions/functions.php");

$login_path = "login/login.php";
if(!isset($_SESSION["logged"])){
	redirect($login_path);
}
else{
	if($_SESSION["logged"] != 1){
		redirect($login_path);
	}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>GTK - Admin Control Pannel</title>
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.4)" />
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.4)" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="javascript" src="js/service.js"></script>
</head>
<frameset rows="60,*" cols="*" frameborder="no" border="0" framespacing="0">
  <frame src="header/header.php" name="topFrame" scrolling="no" noresize="noresize">
  <frameset id="MainFrameSet" rows="*" cols="200,*" framespacing="0" frameborder="no" border="0">
    <frame src="modules/index.php" name="leftFrame" noresize="noresize" scrolling="auto">
    <frame src="contacts/listing.php" name="workFrame" noresize="noresize" scrolling="auto">
  </frameset>
</frameset>
<noframes><body></body></noframes>
</html>